home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MuManual / VBCC / Developer / LibSrc / MMUBase.c < prev    next >
C/C++ Source or Header  |  1999-11-30  |  290b  |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *MMUBase = NULL;
  5. extern unsigned long _MMUBaseVer;
  6.  
  7. void _INIT_5_MMUBase()
  8. {
  9.   if (!(MMUBase = OpenLibrary("MMU.library",_MMUBaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_MMUBase()
  14. {
  15.   if (MMUBase)
  16.     CloseLibrary(MMUBase);
  17. }
  18.